package com.llc.station.kcp.ui.core.component;

import javafx.scene.layout.FlowPane;

/**
 * 作者 zxj<br>
 * 时间 2017/9/13 17:45
 * 说明 ...
 */
public class CarFlowPane extends FlowPane {

    public void addCar(String carNumber,String tag){
        double width = this.getPrefWidth();
        double height = this.getPrefHeight();
        CarPane carPane = new CarPane("粤B12345", "会", (width - 10) / 5, height / 2 - 10);
        this.getChildren().add(carPane);

    }

}
